package com.vpx.server.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


/**
 * @author liuks
 * @title: vpx
 * @module: 数据字典类型
 * @description: 数据字典类型
 * @date 2021/09/20 17:08
 */
@Getter
@Setter
@TableName("sys_dic_type")
@ApiModel(value="SysDicType对象", description="数据字典类型")
public class SysDicType extends BaseEntity {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "状态 启用：ABLE 禁用：DISABLE")
    private String status;

    @ApiModelProperty(value = "创建用户id")
    private Long createUserId;

    @ApiModelProperty(value = "版本号")
    @Version
    private Integer version;

}
